package cn.starlightsoftware.sherly.config;

import cn.hutool.core.collection.CollUtil;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Set;

/**
 * @author 谷子毅
 * @date 2024/6/21
 */
@Data
@Component
@ConfigurationProperties(prefix = "sherly.tenant")
public class TenantConfig {

    private String mainTenantCode;

    private Set<String> ignoreTables = CollUtil.newHashSet();

    private Set<String> ignoreUrls = CollUtil.newHashSet();

}
